#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Times;
using Cephei.QL.Termstructures;
using Cephei.QL;
namespace Cephei.QL.Termstructures.Credit
{
    /// <summary> 
	/// ! Upfront-quoted CDS hazard rate bootstrap helper.
	/// </summary>
    [Guid ("1297B41D-EC13-44b4-BD9E-4A49D6FBF809"),ComVisible(true)]
	public interface IUpfrontCdsHelper : Cephei.QL.Termstructures.Credit.ICdsHelper
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double ImpliedQuote {get;}
        /// <summary> 
		/// 
		/// </summary>
		 IUpfrontCdsHelper InitializeDates {get;}
    }   

    /// <summary> 
	/// ! Upfront-quoted CDS hazard rate bootstrap helper. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IUpfrontCdsHelper_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IUpfrontCdsHelper Create (Double upfront, Double runningSpread, Cephei.QL.Times.IPeriod tenor, Int32 settlementDays, Cephei.QL.Times.ICalendar calendar, QL.Times.FrequencyEnum frequency, QL.Times.BusinessDayConventionEnum paymentConvention, QL.Times.DateGeneration.RuleEnum rule, Cephei.QL.Times.IDayCounter dayCounter, Double recoveryRate, Cephei.QL.Termstructures.IYieldTermStructure discountCurve, Microsoft.FSharp.Core.FSharpOption<UInt32> upfrontSettlementDays, Microsoft.FSharp.Core.FSharpOption<Boolean> settlesAccrual, Microsoft.FSharp.Core.FSharpOption<Boolean> paysAtDefaultTime);
        /// <summary> 
		/// 
		/// </summary>
	    IUpfrontCdsHelper Create (Cephei.QL.IQuote upfront, Double runningSpread, Cephei.QL.Times.IPeriod tenor, Int32 settlementDays, Cephei.QL.Times.ICalendar calendar, QL.Times.FrequencyEnum frequency, QL.Times.BusinessDayConventionEnum paymentConvention, QL.Times.DateGeneration.RuleEnum rule, Cephei.QL.Times.IDayCounter dayCounter, Double recoveryRate, Cephei.QL.Termstructures.IYieldTermStructure discountCurve, Microsoft.FSharp.Core.FSharpOption<UInt32> upfrontSettlementDays, Microsoft.FSharp.Core.FSharpOption<Boolean> settlesAccrual, Microsoft.FSharp.Core.FSharpOption<Boolean> paysAtDefaultTime);
    }
}

